package com.ssn.decorator.battercake;

public class EggDecorator extends BatterCakeDecorator {

    EggDecorator(IBatterCake batterCake) {
        super(batterCake);
    }

    @Override
    public void getDesc() {
        super.getDesc();
        System.out.println("加个煎蛋");
    }

    @Override
    public int cost() {
        return super.cost() + 2;
    }
}
